package com.naiterui.ehp.bs.recommend.vo.require;

import com.naiterui.ehp.bs.recommend.vo.MedicationRequireDetailVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * @Description 医生端求药信息
 * @Author gongbaoqiang
 * @Date 2020/5/12 6:20 PM
 */
@Data
@ToString
@ApiModel(value = "drRequireVO", description = "医生端求药列表信息")
public class DrRequireVO implements Serializable {
    private static final long serialVersionUID = 8564131083571372336L;

    /**
     * 处理状态：1：未处理，2：已处理
     */
    public static final int REQUIRE_HANDLE_STATUS_DEFAULT = 1;
    public static final int REQUIRE_HANDLE_STATUS_ALREADY = 2;

    @ApiModelProperty(value = "处方id")
    private Long recommendId;

    @ApiModelProperty(value = "求药id")
    private Long requireId;

    /**
     * 处方笺编号
     */
    @ApiModelProperty(value = "处方笺编号")
    private String serialNumber;

    /**
     * 患者id
     */
    @ApiModelProperty(value = "患者Id")
    private Long patientId;

    /**
     * 患者姓名
     */
    @ApiModelProperty(value = "患者姓名")
    private String patientName;

    /**
     * 患者年龄
     */
    @ApiModelProperty(value = "患者年龄")
    private Integer patientAge;

    /**
     * 患者年龄单位
     */
    @ApiModelProperty(value = "患者年龄单位[周、个月、岁]")
    private String patientAgeUnit;

    @ApiModelProperty(value = "患者显示年龄")
    private String patientAgeStr;

    /**
     * 患者性别：0.女 1.男
     */
    @ApiModelProperty(value = "患者性别：0.女 1.男")
    private Integer patientGender;


    /**
     * 推荐时间
     */
    @ApiModelProperty(value = "推荐时间")
    private Long recomTime;

    /**
     * 诊断信息
     */
    @ApiModelProperty(value = "诊断信息")
    private List<String> diagnosis;

    @ApiModelProperty(value = "处方药品（第一个）")
    private MedicationRequireDetailVO detailVO;

    @ApiModelProperty(value = "求药时间")
    private Long requiredTime;

    @ApiModelProperty(value = "处理状态：1：待处理，2：已处理")
    private Integer handleStatus;

    @ApiModelProperty(value = "处理意见：0:未处理，1：续方，2：暂停用药")
    private Integer applyStatus;

    @ApiModelProperty(value = "暂停用药备注")
    private String remark;

    @ApiModelProperty(value = "当前求药的新处方id")
    private Long newRecomId;
}
